package com.ruoyi.report_tg.domain.vo;

import com.ruoyi.common.utils.BigDecimalUtil;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class YexVo {

    private BigDecimal yex;
    private BigDecimal yexY = new BigDecimal("20");

    private BigDecimal sux;
    private BigDecimal suxzs;

    public void setYex(BigDecimal yex) {
        this.yex = BigDecimalUtil.stpTrailZero(yex);
    }

    public void setYexY(BigDecimal yexY) {
        this.yexY = BigDecimalUtil.stpTrailZero(yexY);
    }

    public void setSux(BigDecimal sux) {
        this.sux = BigDecimalUtil.stpTrailZero(sux);
    }

    public void setSuxzs(BigDecimal suxzs) {
        this.suxzs = BigDecimalUtil.stpTrailZero(suxzs);
    }
}
